<template>
  <li><router-link to="/details">
         <div class="pic">
              <router-link :to="{name:'Details',query:{goodsid:goodsid}}">
             <img :src="recimage" alt="">
             </router-link>
          </div>
          <div class="zii">
            <p class="ziTitle">{{recicake}}</p>
             <p class="ziprice">{{reciprice}}</p>
           </div>
        </router-link>
   </li>

</template>
<script>
export default {
    props:{
        recimage:String,
        recicake:String,
        reciprice:String,
        goodsid:String
    }
}
</script>

<style scoped>
    .pint li{
    display: inline-block;
    margin-right: 0.01rem;
    width: 1.4rem;
}
.pic img{
    height: 100%;
    width: 100%;
}
.zii{
    width: 1.4rem;
    text-align: center;
    margin-top: 0.13rem;
}
.ziTitle {
    font-family: PingFangSC-Regular;
    font-size: 0.16rem;
    color: #333;
    line-height: 0.16rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ziprice{
    font-family: PingFangSC-Regular;
    margin-top: 0.1rem;
    font-size: 0.16rem;
    color: #FF3939;
    line-height: 0.16rem;
}
</style>